﻿<UserControl x:Class="KaKaSongGame.PlayerInfo"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
             xmlns:my="clr-namespace:KaKaSongGame"
    d:DesignHeight="300" d:DesignWidth="400" xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit">

    <Grid x:Name="LayoutRoot">
        <Border Style="{StaticResource grayborder2}">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="30" />
                    <RowDefinition Height="*" />
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="30" />
                    <ColumnDefinition Width="*" />
                </Grid.ColumnDefinitions>
                <Path Margin="5" Data="M108.5,0.5 C90.6875,48.29705 73.932617,67.802742 59.177292,71.602478 L58.566273,71.743332 L58.867203,71.784576 C88.800781,76.651688 108.5,142.31598 108.5,142.31598 L0.5,143.31598 C18.3125,95.518936 35.067383,76.013252 49.822708,72.213516 L50.433727,72.072662 L50.132797,72.031418 C20.199219,67.164307 0.4999994,1.5000037 0.5,1.5000033 z" HorizontalAlignment="Left" Stretch="Fill" UseLayoutRounding="False">
                    <Path.Fill>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="#FF5A5353" Offset="0"/>
                            <GradientStop Color="#FF958F8F" Offset="1"/>
                            <GradientStop Color="White" Offset="0.485"/>
                        </LinearGradientBrush>
                    </Path.Fill>
                </Path>
                <StackPanel Orientation="Horizontal" Grid.Column="1">
                    <TextBlock Text="PlayerName" FontSize="16"  FontStyle="Italic" MaxWidth="150" Margin="0,0,10,0"/>
                    <TextBlock Text="Score" FontSize="16" Margin="0,0,10,0"/>
                </StackPanel>
                <toolkit:Rating Grid.Column="1" Grid.Row="1" HorizontalAlignment="Left" ItemCount="5" Name="rating1">
                </toolkit:Rating>
                <my:GameCard Grid.Column="1" Grid.RowSpan="2" HorizontalAlignment="Right" VerticalAlignment="Stretch"/>
            </Grid>
        </Border>
    </Grid>
</UserControl>
